﻿using System.Collections;

namespace MoreExtentions
{
    public static partial class Linq
    {
        public static object RandomItem<T>(this T list) where T : IList
        {
            return list[Extentions.Linq.rnd.Next(list.Count)];
        }
    }
}